package com.greencloud.gcstaffmanagement.model;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * employee
 * @author 
 */
@Table(name="employee")
@Data
public class EmployeeDO {
    /**
     * 员工编号
     */
    @Id
    private Integer id;

    /**
     * 员工姓名
     */
    @Column(name = "name")
    private String name;

    /**
     * 性别
     */
    @Column(name = "gender")
    private String gender;

    /**
     * 出生日期
     */
    @Column(name = "birthday")
    private Date birthday;

    /**
     * 身份证号
     */
    @Column(name = "idCard")
    private String idCard;

    /**
     * 婚姻状况
     */
    @Column(name = "wedlock")
    private Object wedlock;

    /**
     * 民族
     */
    @Column(name = "nationId")
    private Integer nationId;

    /**
     * 籍贯
     */
    @Column(name = "nativePlace")
    private String nativePlace;

    /**
     * 政治面貌
     */
    @Column(name = "politicId")
    private Integer politicId;

    /**
     * 邮箱
     */
    @Column(name = "email")
    private String email;

    /**
     * 电话号码
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 联系地址
     */
    @Column(name = "address")
    private String address;

    /**
     * 所属部门
     */
    @Column(name = "departmentId")
    private Integer departmentId;

    /**
     * 职位ID
     */
    @Column(name = "posId")
    private Integer posId;

    /**
     * 聘用形式
     */
    @Column(name = "engageForm")
    private String engageForm;

    /**
     * 最高学历
     */
    @Column(name = "tiptopDegree")
    private Object tiptopDegree;

    /**
     * 所属专业
     */
    @Column(name = "specialty")
    private String specialty;

    /**
     * 毕业院校
     */
    @Column(name = "school")
    private String school;

    /**
     * 入职日期
     */
    @Column(name = "beginDate")
    private Date beginDate;

    /**
     * 在职状态
     */
    @Column(name = "workState")
    private Object workState;

    /**
     * 工号
     */
    @Column(name = "workID")
    private String workID;

    /**
     * 合同期限
     */
    @Column(name = "contractTerm")
    private Double contractTerm;

    /**
     * 转正日期
     */
    @Column(name = "conversionTime")
    private Date conversionTime;

    /**
     * 离职日期
     */
    @Column(name = "notWorkDate")
    private Date notWorkDate;

    /**
     * 合同起始日期
     */
    @Column(name = "beginContract")
    private Date beginContract;

    /**
     * 合同终止日期
     */
    @Column(name = "endContract")
    private Date endContract;

    /**
     * 工龄
     */
    @Column(name = "workAge")
    private Integer workAge;

    /**
     * 工资账套ID
     */
    @Column(name = "salaryId")
    private Integer salaryId;

    private static final long serialVersionUID = 1L;
}